﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Meditime.UI
{
    public static class Common
    {
        public static string FormatError(Exception ex)
        {
            string returnVal;
            returnVal = ex.ToString();
            if (ex.InnerException != null)
                returnVal += "  " + ex.InnerException.Message;
            return returnVal;
        }
    }
}
